]> dgit.raspbian.org Git - gnome-shell.git/commit
st: Keep weak ref on texture cache bound texture source
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 12 Feb 2021 22:10:25 +0000 (23:10 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 15 Feb 2021 21:09:53 +0000 (21:09 +0000)
commit87558efbf130ec64b445da808b2bc162aebf352d
treef6e479e2a22dbee7e3a260ad4047c2f768b0e049
parent7a2e629bd0e6abcb63ab691be943e56b7df004ac
st: Keep weak ref on texture cache bound texture source

We don't keep any ref on it, so it might leave us with a dangling
pointer here.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3491
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1672>
src/st/st-texture-cache.c